package com.hqyj.module.login.service;

import com.hqyj.module.login.pojo.UserInfo;
import com.hqyj.module.login.pojo.UserInfoNew;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;

public interface IUserInfoService{

    HashMap<String,Object> login(UserInfo userInfo);


    //邮件登录
    HashMap<String,Object> emailSend(String email, HttpServletRequest request);

    HashMap<String,Object> emailRedis(String email);


    HashMap<String,Object> emailLoginRedis(UserInfo userInfo);

    HashMap<String,Object> emailLogin(UserInfo userInfo);

    Integer updatePwd(UserInfoNew userInfoNew);





}
